<extend name="public@base"/>
block(name='main')
    .wrap.js-check-wrap
        ul.nav.nav-tabs
            li.active
                a(href="{:url('storage/index')}") {:lang('ADMIN_STORAGE_INDEX')}
        form.form-horizontal.js-ajax-form.margin-top-20(method='post', action="{:url('storage/settingPost')}")
            .form-group
                label.col-sm-2.control-label(for='input-type') 存储类型
                .col-md-6.col-sm-10
                    select#input-type.form-control(name='type')
                        <foreach name="storages" item="vo">
                            php $type_selected=isset($type)&&$type==$key?"true":"false";
                            option(value='{$key}',  data-selected="{$type_selected}") {$vo.name}
                        </foreach>
            .form-group
                .col-sm-offset-2.col-sm-10
                    button.btn.btn-primary.js-ajax-submit(type='submit', data-refresh='0')
                        | {:lang('SAVE')}